package com.web.exiaodao.business.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;
import com.web.webstart.base.entity.BaseEntity;

/**
 * 
* @ClassName: VersionUpdate 
* @Description: 版本更新定义表
* @author eason
* @date 2015年3月23日 下午1:00:00 
*
 */
@Entity
@Table(name = "tb_xa_versionupdate")
@ApiModel(value="版本更新定义表")
public class VersionUpdate extends BaseEntity{

	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value="类型,类型：1,安卓 2,IOS")
	private Integer type;
	@ApiModelProperty(value="版本号,版本号")
	private String versionNum;
	@ApiModelProperty(value="是否强制更新,是否强制更新，0：否1：是")
	private Integer forceUpdate;
	@ApiModelProperty(value="下载地址,下载地址")
	private String downAddress;
	@ApiModelProperty(value="更新内容,更新内容")
	private String content;
		
	
	public void setType(Integer type){
		this.type=type;
	}
	
	@Column(nullable=true,length=11)
	public Integer getType(){
		return type;
	}
	public void setVersionNum(String versionNum){
		this.versionNum=versionNum;
	}
	
	@Column(nullable=true,length=50)
	public String getVersionNum(){
		return versionNum;
	}
	public void setForceUpdate(Integer forceUpdate){
		this.forceUpdate=forceUpdate;
	}
	
	@Column(nullable=true,length=11)
	public Integer getForceUpdate(){
		return forceUpdate;
	}
	public void setDownAddress(String downAddress){
		this.downAddress=downAddress;
	}
	
	@Column(nullable=true,length=500)
	public String getDownAddress(){
		return downAddress;
	}
	public void setContent(String content){
		this.content=content;
	}
	
	@Column(nullable=true,length=500)
	public String getContent(){
		return content;
	}
		

}
